﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AY38910
{
    public class YmFile
    {
        public string FileId { get; set; }

        public string CheckString { get; set; }

        public uint FrameCount { get; set; }

        public uint SongAttributes { get; set; }

        public ushort DigiDrumSampleCount { get; set; }

        public uint MasterClock { get; set; }

        /// <summary>
        /// Original Player frame speed in Hz (typically 50)
        /// </summary>
        public ushort FrameSpeed { get; set; }

        public uint LoopFrame { get; set; }

        /// <summary>
        /// Size, in bytes, of future additional data.  Skip these bytes. (Always 0 for the moment)
        /// </summary>
        public ushort Size { get; set; }

        public ICollection<DigiDrumSample> DigiDrumSamples { get; set; }

        public string SongName { get; set; }

        public string AuthorName { get; set; }

        public string SongComment { get; set; }

        public List<YmFrame> Frames { get; set; }
    }
}
